package com.parkinglot.management.service;

import com.parkinglot.management.repository.entity.Order;

import java.text.ParseException;
import java.util.List;

public interface OrderService {
    List<Order> getAllOrders();

    Order addOrder(String path, String timestamp) throws ParseException;

    List<Order> getOrderByNum(String carNumber);

    void deleteOrder(Order order);
}
